<script lang="ts">
    import { Link } from 'svelte-routing';

    function goBack() {
        window.history.back();
    }
</script>

<div class="flex space-x-2 items-center w-full leading-10 p-1" style="text-align: center;">
    <Link to="/warehouse-entries" getProps={({ isCurrent }) => ({ class: isCurrent ? 'flex-1 border-b-2 border-blue-500 text-blue-500' : 'flex-1 text-gray-500' })}>入库记录</Link>
    <Link to="/vehicles" getProps={({ isCurrent }) => ({ class: isCurrent ? 'flex-1 border-b-2 border-blue-500 text-blue-500' : 'flex-1 text-gray-500' })}>在库车辆</Link>
    <Link to="/warehouse-exits" getProps={({ isCurrent }) => ({ class: isCurrent ? 'flex-1 border-b-2 border-blue-500 text-blue-500' : 'flex-1 text-gray-500' })}>出库记录</Link>
</div>

<style lang="scss">
</style>
